home *** CD-ROM | disk | FTP | other *** search
- ;
- ; FL.DEF - Default .def file for FORTRAN Windows applications
- ;
- ; Copyright (C) Microsoft Corp 1991. All rights reserved.
- ;
-
- NAME WINDOWAPI
-
- ;
- ; The NAME statement tells the linker that a Windows application is being
- ; built. The linker supplies the actual name of the application from the
- ; base name of the executable file.
- ;
-
- APPLOADER '__MSLANGLOAD'
-
- ;
- ; The APPLOADER statement pulls in an alternate application loader from the
- ; FORTRAN library which the application uses instead of the normal Windows
- ; loader. This new loader fixes a bug in the normal Windows loader that
- ; prevents huge data items from being loaded properly. This statement should
- ; be used in all applications built with FORTRAN 5.1 for Windows 3.0.
- ;
-
- EXETYPE WINDOWS 3.0
-
- ;
- ; The EXETYPE statement tells the linker to build a Windows 3.0 executable
- ; file. This statement should be used in all applications built with
- ; FORTRAN 5.1 for Windows 3.0.
- ;
-
- STUB 'WINSTUB.EXE'
-
- ;
- ; The STUB statement pulls in an executable file which is run when the
- ; application is run independently of Windows 3.0. WINSTUB.EXE displays
- ; the message 'This program requires Microsoft Windows' when executed.
- ;
-
- PROTMODE
-
- ;
- ; The PROTMODE statement tells the linker to mark the application for execution
- ; in Windows standard or enhanced mode.
- ;
-
- CODE PRELOAD MOVEABLE DISCARDABLE
- DATA PRELOAD MOVEABLE
-
- ;
- ; The CODE and DATA statements set the attributes of the applications CODE and
- ; DATA segments. See chapter 22 in the Environment and Tools manual for
- ; a complete description of the options for these statements.
- ;
-
- HEAPSIZE 1024
- STACKSIZE 8096
-
- ;
- ; The HEAPSIZE and STACKSIZE statements set the applications near heap and
- ; stack sizes. The values specified are recomended for QuickWin applications.
- ; See chapter 22 in the Environment and Tools manual for a complete
- ; description of these statements.
- ;
-
- ;
- ; Uncomment these lines for DLL module definition file model.
- ;
- ;EXPORTS
- ; WEP
-
- ;
- ; The above section should be uncommented if this .DEF file is to be used as
- ; a model for a FORTRAN 5.1 dynamic-link library (DLL) .DEF file. The WEP
- ; routine is included in the FORTRAN 5.1 startup code, but the symbol must
- ; be explicitly exported. If a DLL already has a user-defined WEP routine,
- ; the routine should be renamed _WEP. The startup code will call _WEP,
- ; if present, during DLL termination. For additional information concerning
- ; the WEP function, see the Windows 3.0 SDK documentation.
- ;
-